PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Font ID Constants

Constants of type ThemeFontID identify the kinds of system fonts. Your application may pass a ThemeFontID constant to the function UseThemeFont to apply a font of the specified kind to the current port, or it may pass a ThemeFontID constant to the function GetThemeFont to retrieve information about the specified kind of font. The ThemeFontID constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeSystemFont                = 0,
    kThemeSmallSystemFont           = 1,
    kThemeSmallEmphasizedSystemFont = 2,
    kThemeViewsFont                 = 3
};
typedef UInt16 ThemeFontID;

Constant descriptions

kThemeSystemFont
The current (large) system font.
kThemeSmallSystemFont
The current small system font.
kThemeSmallEmphasizedSystemFont
The current small, emphasized system font.
kThemeViewsFont
The current views font.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)